#ifndef __BasePos_H__
#define __BasePos_H__

#include "cocos2d.h"

USING_NS_CC;

class BasePos : public CCNode{
public:
	BasePos();
	~BasePos();

	static BasePos* create(CCPoint pos);
	virtual bool init(CCPoint pos);

	static BasePos* create(CCPoint pos,bool isDebug);
	virtual bool init(CCPoint pos,bool isDebug);

	virtual void draw();

public:
	virtual bool isClickMe(CCPoint pos);

protected:
	CC_SYNTHESIZE(CCPoint,m_pos,Pos);

	bool m_isDebug;

};
#endif // !__BasePos_H__
